Means for interfacing devices under snmp

ABSTRACT

Means for masquerading IP addresses for non-IP devices are disclosed, enabling non-IP devices or sub-networks having incompatible address spaces to be connected to an IP network and appear as addressable network objects. In one embodiment, the means may be a remote system controller (RSC) that has a block of IP addresses assigned to it for use with connected sub-networks or devices. Normally each assigned address will be associated with a management information base (MIB) containing data about the associated device, and each MIB will be associated with a protocol converter and I/O port connectable to the respective device or sub-network.

TECHNICAL FIELD

[0001] This invention relates to methods and apparatus for use in connecting devices and/or network elements to a TCP/IP network so that standard SNMP network management protocols can be employed to effect the monitoring and/or management of non-standard devices or elements, or of devices and/or elements that have conflicting IP addresses.

[0002] In this specification, a device can be any hardware item, or software/firmware applet that functions as such a device, that is connected to a network. A device can be simple, such as single pole mechanical switch, a temperature sensor or an alarm state; or it may be complex and be composed of many individual devices, such as a multiplexer, a PABX, a computer installation, a standby diesel engine or an entire generating station. While a communications network, or an element thereof can also be regarded as a device, it may also be a sub-network of devices managed using RMON, a subset of SNMP protocols relating to remote monitoring. In SNMP parlance, such devices and elements are often referred to as ‘network objects’ or, more simply, as ‘objects’. As used herein, ‘object’ indicates a device on which IP is implemented so that it can be individually addressed, monitored and/or controlled under SNMP.

BACKGROUND TO THE INVENTION

[0003] Standard SNMP [Simple Network Management Protocol] is defined by the IAB [Internet Architecture Board]. It requires the use of a prescribed database structure—called a Management Information Base, or MIB—to interface with objects. RMON defines certain extensions to the basic SNMP MIB. The three basic specifications relating to SNMP are:

[0004] “Structure and Identification of Management Information for TCP/IP-based unetworks” (RFC 1155), defines how managed objects are characterised in the MIB.

[0005] “Management Information Base for Network Management of TCP/IP-based Internets” (MIB-II: RFC 1213) defines the managed objects that can be contained in a MIB.

[0006] “Simple Network Management Protocol” (RFC 1157) defines the protocol used to manage these objects.

[0007] [See: “SNMP, SNMPv2, SNMPv3, and RMON 1 and 2” by William Stalling, Addison Wesley, 3^(rd) Edition, 1999]

[0008] A TCP/IP network managed using SNMP employs at least one management station [NMS] that maintains a database of information extracted from the MIBs of all managed objects within the network. Information collection or extraction is mediated by network management agents (implemented in software) at key platforms, hosts, bridges, hubs, routers, which are able to interrogate object MIBs and to receive unsolicited information therefrom. It is, of course, is necessary for every management station, agent and object in this system to support the common IP protocol and, preferably, to have a standard IP address.

[0009] Because of the substantial cost involved, IP is not implemented on many simple devices that are part of a larger system that is connected to a TCP/IP network. These devices are therefore not network objects capable of being managed by the NMS using SNMP; they do not have IP addresses and are essentially invisible to the NMS. Often, such devices are inter-connected by a proprietary monitoring or controlling network that does not use TCP/IP protocols, the private network and its devices often being referred to as ‘legacy’ systems and devices. In other cases, the lack of an IP interface for a ‘legacy’ device is a consequence of the age of the device; that is, it probably was installed and commissioned before SNMP became ubiquitous. While it is possible to provide a SNMP interface for a legacy device, it would effectively involve the provision of a dedicated computer for each device in order to set-up TCP/IP, establish an IP address and a MIB for that device and to monitor the state of the device.

[0010] Moreover, for commercial reasons rather than cost considerations, IP is not implemented on many modern proprietary devices. For example, proprietary multiplexers, demultiplexers, transmitters and receivers employed in telecommunications links, and perhaps containing many thousands of individual devices, are often not implemented as standard network objects. The manufacturers of such complex systems often prefer to connect them via proxy agents to TCP/IP networks running SNMP, the proxy agent software and associated MIBs being proprietary and, often, non-standard. These proxy agents are connected to the devices of the system using proprietary protocols, not IP. Thus such devices are not themselves network objects. In some cases, the proxy agent acts primarily as a protocol converter. For example, Siemens manages devices in some of its SDH [Synchronous Digital Hierarchy] systems using a Q3 protocol in conjunction with its proprietary EMOS device manager, and the University College London has written a protocol converter to interface Q3 with SNMP that can be implemented as the core of a TCP/IP proxy agent. Other examples are CORBA and CMIP that will be known to those skilled in the art.

[0011] A major drawback of the proxy agent approach is that that the MIB of the proxy agent tends to be very complex (since it must cover all devices in the proprietary system) and it cannot be readily scaled or modified to take account of the addition, removal or change of devices. This results in inflexibility and, often, the failure of the MIB to accurately reflect the status of the devices or system being monitored via SNMP. The proxy agent, of course, necessarily has a single IP address (corresponding to its single MIB).

[0012] In yet other cases, where the network elements to be integrated under a common NMS are private sub-networks each using its own set of IP addresses, integration is impossible because pre-assigned IP addresses in the private IP have already been assigned by the NMS to existing elements of the main network. In other words, connection of such a private network would result in ambiguity and confusion caused by the conflicting or overlapping addresses or address fields. This may require complete reconfiguration of the private network or the reassignment of addresses therein. Such reconfiguration can be expensive and cause considerable inconvenience to existing users of the private network concerned.

OUTLINE OF INVENTION

[0013] According to the present invention, one or more of the aforementioned problems can be resolved by the use of a remote system controller (RSC), which is a assigned a block of IP addresses, has or is capable of generating a MIB for each address, and is able to use those ‘masquerading’ addresses to interface with legacy devices, private network elements and non-IP devices. The MIB associated with an assigned address can be populated with data about the associated device, including details of protocols used by that device and the MIB may be physically interfaced with the device by a suitable device driver.

[0014] Where the connected devices are elements of a private IP network that have already been assigned an IP addresses within that (sub-)network, the RSC can allocate new host-network addresses from within its block of assigned addresses to these devices, the offset or translation between the original IP address of a device and the new IP address assigned to that device by the RSC being effected by the MIB associated with each device or, more preferably, by a single MIB associated with the sub-network. Thus, the RSC acts to masquerade its address filed for the address field originally assigned to the private network. This allows members of the private network to retain and continue to use their original IP addresses while communicating normally with the larger host network without danger of conflict with the same addresses assigned to others in the host network.

[0015] Normally, the RSC will use SNMP to monitor and control the devices connected thereto. It will therefore comprise a microprocessor unit adapted to run IP and to be connected to the host network, the microprocessor unit being configured to represent or masquerade a contiguous block of IP addresses to a SNMP network management station [NMS] or appropriate local SNMP agent, the number of IP addresses in the block being at least equal to the number of devices to be connected to the RSC. The RSC may include memory means connected to and accessible by the microprocessor unit, the memory means being configured to comprise a standard SNMP MIB corresponding to each IP address in the block of assigned IP addresses. The RSC may also include a plurality of I/O ports adapted for connecting a plurality of the devices to be monitored and/or controlled by the NMS or agent to the microprocessor unit so that each device has a respectively corresponding one of the RSC MIBs, the corresponding RSC MIB being adapted to be populated with data from or concerning the respective device.

[0016] Preferably, the RSC will include a port driver for each I/O port that is adapted to effect protocol translation required to communicate with one or more non IP legacy or proprietary device connected to that port. The RSC will normally have its own IP address that will normally be the first address in the block assigned to the RSC. A routing table within the NMS or agent will indicate that any packets for an address within the block is to be sent to the RSC.

[0017] While a one-to-one correspondence between the number of ports and the number of devices is not essential, it is important that every non-IP device connected to the RSC has its dedicated and corresponding MIB for storing data concerning that device. It is thus envisaged that, where more than one device is connected to a port, the protocol translation function will ensure that each of those devices can be effectively addressed via the corresponding MIB. However, as already indicated, a single MIB can be conveniently used for a sub-network of IP devices to effect the address translation between the devices of the sub-network and the block of addresses assigned to the RSC.

[0018] Upon receipt of a command packet from a NMS having a given IP address within the block of addresses assigned to the RSC, the RSC reads the address and extracts the data, request or command from the packet and, at the SNMP level, consults the MIB corresponding to the assigned address. If the packet contains data for updating that MIB, this is effected by a SNMP process. If the packet contains a request for information—for example, a record of recent alarms—pertaining to a device, the corresponding MIB is interrogated and the appropriate alarm log extracted and returned by the RSC. If the packet contains a command to effect the control or the direct interrogation of a device, the MIB may be consulted to ensure that the appropriate protocol translation takes place, and the resultant translated command is delivered via the appropriate I/O port to the corresponding device. Data returned from the device is re-translated before being inserted into a responding TCP/IP packet by the RSC.

[0019] If the packet contains data for transmission to an IP device on a (former) private network that has now been associated with a given assigned (masquerade) address, the MIB corresponding to the masquerade address is consulted, the (former) private network address determined and that address is substituted in the packet, which is then placed on the private network. Similarly, unsolicited data transmitted from an IP device on the former private network to an external address is intercepted by the RSC, which consults the appropriate MIB to determine the sender's masquerade address, inserts the masquerade sender's address into the packet and places the packet on the external network (usually the Internet).

[0020] It will be appreciated that the devices connected to such an RSC—whether IP devices or not—will appear to the SNMP-based NMS or agent as normal IP objects with masquerading addresses, which function in all respects as IP addresses/objects capable of being addressed, interrogated and managed in the normal manner in an SNMP system.

[0021] Thus, the present invention not only concerns RSCs with one or more of the components and functions indicated, but it also concerns methods of address masquerading in an IP network to accommodated non-IP devices, legacy devices and IP devices with conflicting IP addresses, and it concerns networks incorporating RSCs or such methods.

DESCRIPTION OF EXAMPLES

[0022] Having broadly portrayed the nature of the present invention, examples of the implementation of the invention will now be described by way of illustration only. The examples will be described with reference to the accompanying drawings in which:

[0023]FIG. 1 is a diagram of an IP network including a network management station [NMS], a remote site controller [RSC] and a number of non-IP devices [D1-D10].

[0024]FIG. 2 is simple block diagram indicating the principal hardware components of the RSC of FIG. 1.

[0025]FIG. 3 is a diagram showing the use of RSCs to allow two private IP networks to be effectively integrated into a larger network (such as the Internet) even though some IP addresses are common to both private networks.

[0026]FIG. 4 is a diagram showing the use of one RSC as a pseudo router to allow two private IP networks to be effectively integrated into a larger network (such as the Internet) even though some IP addresses are common to both private networks.

[0027] Referring to FIG. 1, an NMS (network management station) 10 is connected via a network 12 (normally the Internet) to an RSC 14 formed in accordance with the present invention. Of course, the NMS will have much broader functions than simply communicating with RSC 14, as it will have many SNMP proxies or agents connected to it as well, though these are not shown. NMS 10 has a large dedicated central MIB 16 associated with it that includes data about all network elements and objects and their interconnections. The function and structure of the NMS 10 will not be further elaborated because it is well described in the Stallings text referenced above.

[0028] In this example, RSC 14 is assumed to have a block of eleven IP addresses 192.168.100-110 assigned to it, the first of these addresses (192.168.100) being that of the RSC itself. IP addresses 192.168.101-110 are assigned to ten devices D1-D10 that can be connected to and managed by the RSC. Of course, blocks of hundreds or thousands of IP addresses can be assigned to RSCs that are configured to interface with up to the same number of devices.

[0029] In this case, RSC 14 has ten MIBs M1-M10, which correspond one-to-one with the ten devices D1-D10. However, in this example, devices D1-D10 are served by only seven ports P1-P7 because port P7 is connected to a string of four devices D7-D10. Each port is supported by its own protocol converter or adaptor, indicated at C1-C7 in FIG. 1. Devices D7-D10 are shown daisy-chained or series-connected but they can be connected to port P7 in any suitable manner—eg, as a star, ring or bus—so long as each of this group of devices can be individually polled or interrogated using protocol converter C7. In other words, this group of devices comprises a sub-network indicated at 18. Network 18 may comprise a legacy network of non-IP devices that is polled or addressed in a manner determined by that network's protocols. However, it could also be an IP network of devices individually addressable under IP, in which case there would probably be no need for separate MIBs M8-M10 or for a separate protocol conversion circuit C7.

[0030] Referring to the block diagram of FIG. 2, RSC 14 basically comprises a microprocessor (computer) unit 20 connected to a memory unit 22, which may be implemented as a hard disc or in solid-state and may comprise, read/write and/or read-only sequential access storage and/or random access storage, as is known in the computer art. Microprocessor unit 20 is connected to network 12 by a front-end I/O circuit 24 and, by back-end I/O circuit 26, to devices D1-D10 including network 18 (not shown in FIG. 2). Memory 22 contains the MIBs, the software necessary for the implementation of SNMP on TCP/IP and the software needed for the protocol conversion routines inherent in converters C1-C7.

[0031] In one mode of operation, NMS 10 can seek to update its central MIB 16 with data about the condition of device D5 recorded on its MIB M5 and, if so, places a query packet with the IP address 192.168.105 on the network 20, which routes that packet to RSC 14 since NMS 10 knows that device D5 has the network address 192.168.105 and that a block of addresses including this address has been allocated to RSC 14. Upon recognising a packet in the block of addresses assigned to RSC 14, front-end I/O circuit transfers the packet, including the source and destination addresses, to microprocessor unit 20 for disassembly and interpretation. Processor unit 20 then reads the requested data from MIB M5, incorporates it into an answering packet addressed to NMS 10 and places it on network 12 for routing to NMS 10.

[0032] In another mode of operation, NMS 10 can directly interrogate the state of a monitored parameter in device D5 by transmitting a suitable interrogation packet addressed, as before, to D5. Upon receipt of this packet, processor 20 initiates the interrogation of device D5 to elicit the desired data. This data may be first recorded in MIB M5 and the copied from M5 into an answering packet, as before. Alternatively, it may be directly incorporated into the answering packet, after suitable protocol conversion via P5.

[0033] In yet another mode of operation, an alarm state might occur in, say, device D8 on sub-net 18, which is signalled to MIB M8 via sub-net 18 (and via back-end I/O circuit P7 and protocol conversion circuit C7, if employed). Processor unit 20, which is programmed to monitor MIB M8 because it is known that certain alarm states in device D8 require immediate reporting to NMS 10, detects the alarm state, generates an appropriate reporting packet addressed to NMS 10 and places it on net 12 via front-end I/O circuit 24.

[0034] Other modes of operation are possible, depending upon the degree of intelligence and autonomy assigned to RSC 14. With the appropriate degree of capability and authority, RSC 14 could exercise direct control over some of devices D1-D10 without need for instruction from NMS 10. It might, for example, respond to certain alarm conditions by itself.

[0035] Referring now to FIG. 3, the second example assumes that two previously separate private IP networks 40 and 42 are to be interconnected so that devices in one can address devices in the other, and so that devices external to both private networks can communicate with devices in either or both private networks, despite the fact that the same IP addresses have been separately assigned to devices in each of the private networks. For example, an external device could be a router or server 44 connected to the Internet, shown at 46, or the external device could be any other device connected to network 46 (other than those devices included in networks 40 and 42).

[0036] According to the present example, each private network 40 and 42 is to be connected to Network 46 via common router 44, each network (40, 41) being interfaced to router 44 via a respective RSC 48, 50, respectively. [Though not shown, each private network could equally well be connected to Network 46 via a separate—rather than a common—server or router.] For convenience, each private network (40, 42) can be regarded as the private network 18 of FIG. 1. The problem that is resolved by the use of RSCs 48 and 50 is that:

[0037] (a) networks 40 and 42 happened to have used the same address space—say10.1.1-99—for their respective groups of devices (though they need not have the same number of devices), and/or their address space conflicts With another already allocated on Network 46; and

[0038] (b) the cost of reconfiguring either or both of networks 40 and 42 is to be avoided.

[0039] The solution to this problem can be simply achieved by using RSC 48 to masquerade the addresses of network 40 to router 44 and RSC 50 to masquerade the addresses of network 42 to router 44. This may be done by assigning new block of ‘free’ addresses—say 50.1.0-99—to RSC 48 and another new block of addresses—say 51.1.1-100—to RSC 50. The address of RSC 48 itself is 50.1.0 and its MIB is set up to map address space 50.1.1-99 onto the original address space [10.1.1-99] of network 40. Similarly, the address of RSC 50 is set to 51.1.0 and its MIB is programmed to map address space 51.1.1-99 onto the original address space [10.1.1-99] of network 42. Thus, as far as router 44 and the Network 46 are concerned, then, devices in networks 40 and 42 are addressed by the corresponding newly allocated blocks of addresses.

[0040] Accordingly, devices in network 40 communicate between each other using their original addresses (10.1.1-99) and devices on network 42 also communicate with each other using the same original addresses (10.1.1-99). However, when a device—say 10.1.36—on network 40 sends a packet to a destination address outside address space 10.1.1-100, it is intercepted by RSC 48 and the sender's masquerade address—say, 50.1.36—is substituted for its address on network 40. Similarly, when RSC 40 receives a packet addressed to device 50.1.36, it changes the destination address to the local network address [10.1.36] after consulting the appropriate MIB. Exactly the same happens for network 42: the sender's addresses on outgoing packets are replaced by the corresponding ‘51.1’ masquerade addresses, and the ‘51.1’ masquerade destination addresses of incoming packets are changed to the corresponding local addresses on network 42.

[0041] Where the address fields of the conflicting private networks are modest, a RSC can replace a server, as illustrated in FIG. 4. In this case, RSC 60 interfaces a principal network 62 to private network 64 having an address field 10.1.1-49 and also interfaces private network 66 having the same address field to external 30 network 62. Here, RSC 60 is assigned the masquerade address field 20.1.0-99, 20.1.0 being reserved for the RSC itself, the address field 20.1.1-49 is assigned as masquerade addresses for private network 64 (being mapped onto the original address field 10.1.149 of network 64) and the address field 20.1.50-99 being assigned as the masquerade addresses for private network 66. The MIBs of RSC 60 are programmed accordingly and RSC 60 can even be set up so that a message from a device in private network 64 for one in private network 66 can be routed direct to the latter network without the need to place the packet on principal network 62.

[0042] While the benefits of the invention are evident from the above description of the chosen examples, it will be appreciated that many changes and modifications can be made without departing from the scope of the present invention as defined by the following claims. 

1 A remote system controller (RSC) for interfacing an IP network running SNMP to a plurality of network devices, the RSC comprising: a microprocessor unit adapted to run IP and to be connected to the network, the microprocessor unit being configured to represent a contiguous block of IP addresses to a SNMP network management station [NMS] or appropriate local SNMP agent, the number of IP addresses in said block being at least equal to the number of devices, and memory means connected to and accessible by the microprocessor unit, the memory means being configured to comprise a standard SNMP MIB corresponding to each IP address in said block of IP addresses. 2 A RSC according to claim 1 wherein: at least one I/O port is adapted for connection to a plurality of non-IP, legacy or proprietary devices to be monitored and/or controlled by the RSC, a respective one of said MIBs is associated with each device in said plurality of devices, said respective MIB is adapted to be populated with data from or concerning its associated device so as to enable the RSC to communicate with said device via a protocol conversion routine determined by said data in the respective MIB. 3 A RSC according to claim 1 wherein: at least one I/O port is adapted for connection to a plurality of IP devices to be monitored and/or controlled by the RSC, each one of said plurality of IP devices has a native IP address that is not an IP address within said block of IP addresses assigned the RSC, a respective one of said MIBs is associated with each device in said plurality of devices, said respective MIB is adapted to be populated with data from or concerning its associated device so as to enable the RSC to communicate with said device via an address translation routine determined by said data in the respective MIB. 4 A RSC according to claim 1 wherein: an I/O port is adapted for connection to a non-IP, legacy or proprietary device, one of said MIBs is associated with said non-IP, legacy or proprietary device, said one MIB is adapted to be populated with data from or concerning the associated device whereby the RSC can communicate with said device via an protocol conversion routine determined by said data in the respective MIB. 5 A RSC according to any preceding claim wherein: the RSC has an IP address and is itself addressable via that address, and the IP address of the RSC is the first or base address in the aforesaid block of addresses assigned to the RSC for devices serviced thereby. 6 A RSC according to any one of claims 2-5 wherein: the RSC includes a software routine for interrogating or determining the status of a device connected thereto and for recording the status of that device in the MIB associated with that device, whereby, upon occasions determined by said routine, or upon request by an NMS or agent requesting data concerning that device, the RSC will read the requested data from the MIB associated with that device and automatically return that data to the NMS or agent together with the IP address of that device assigned by the RSC thereto. 7 A RSC according to any one of claims 2-5 wherein: the RSC includes a software routine for varying a controlled parameter of a device connected thereto by utilising address translation and/or protocol conversion data stored in the MIB associated with said device, whereby, upon occasions determined by said routine, or upon request by an NMS or agent directing adjustment of said parameter of said device, the RSC will activate said routine to effect a required variation or adjustment of said parameter. 8 A method of interfacing a plurality of non-IP devices to an IP network comprising the steps of: connecting the devices to separate output ports on a remote system controller [RSC], associating a management information base [MIB] with each device and recording particulars concerning said device within the MIB, associating a protocol conversion circuit with each device to enable communication with the device by the RSC, assigning a block of IP addresses to the RSC and assigning individual IP addresses from said block of addresses to individual devices, whereby said devices can be individually addressed and interrogated using the IP addresses assigned thereto. 9 A method of interfacing a first network of IP devices to a second network of IP devices where there is duplication or conflict in the IP addresses between the first and second networks, the method comprising the steps of: connecting the first and second networks to separate output ports on a remote system controller [RSC], associating a first management information base [MIB] within the RSC with the first network and recording the device addresses in the first network within the first MIB, associating a second management information base [MIB] within the second network and recording the device addresses in the second network within the second MIB, assigning first and second blocks of IP addresses to the RSC, which are different from the addresses employed within the first and second networks, and associating individual IP addresses from said first and second blocks of addresses to individual devices, whereby said devices can be individually addressed and interrogated using the IP addresses assigned thereto. 10 A network system comprising: a computer communications network running under TCP/IP and SNMP, a plurality of non-IP devices for connection the network, an interface unit comprising a remote system controller [RSC] having a connection to the network, running TCP/IP and SNMP and having a plurality of IP addresses assigned thereto, I/O ports in the RSC for each of the non-IP devices, protocol conversion means associated with each of said I/O ports adapted to communicate with the respective device, a management information base associated with each protocol converter or I/O port for storing information about the respective device, each MIB also being associated with one of the assigned IP addresses whereby the associated device appears to the network as an IP device at that address and whereby IP commands received by an MIB for the respective device are converted into signals intelligible by said device, and/or whereby signals generated by said device and transmitted to the RSC are converted into IP signals identified with the IP address of that device and can be recorded in the associated MIB or placed on the IP network. 